/**
 * @author qiushaohua 2012-3-27
 */
package com.feizhi.common.service;

import com.feizhi.common.OperateResult;

/**
 * @author qiushaohua 2012-3-27
 * @version 0.0.1
 */
public interface ResourceService<T> {

    T query(int id);

    OperateResult insert(T t);

    OperateResult delete(int id);

    OperateResult update(T t);

}
